package com.hb.core.pojo.project.deal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hb.core.pojo.project.deal.dto.BidCandidateSupplierDTO;
import com.hb.core.pojo.project.deal.entity.BidCandidateSupplier;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 中标候选人公示供应商对应Mapper
 *
 * @author Lix1ang
 * @date 2021-12-24 13:59:59
 */
@Mapper
public interface BidCandidateSupplierMapper extends BaseMapper<BidCandidateSupplier> {

    /**
     *
     * @Description: 查询标段的中标候选人公示最后一次中标人候选人列表
     * @Author: zhongdl
     * @Date:2022/1/6 9:06
     * @param pages:
     * @param sectionId: 标段id
     * @param candidateId: 中标候选人id
     * @param orgName:企业名称
     * @return: {@link com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.hb.core.pojo.project.deal.dto.BidCandidateSupplierDTO> }
     **/
    Page<BidCandidateSupplierDTO> pageCandidate(@Param("page") Page pages, @Param("sectionId")  Long sectionId,@Param("candidateId") Long candidateId,@Param("orgName") String orgName);
}
